package com.example.xpvideo.service;

import com.example.xpvideo.entity.PageResult;
import com.example.xpvideo.entity.ResponseResult;
import com.example.xpvideo.entity.req.AuditReq;
import com.example.xpvideo.entity.req.BargainGoodReq;
import com.example.xpvideo.entity.req.BargainRecordReq;
import com.example.xpvideo.entity.req.ReviewAuditReq;
import com.example.xpvideo.entity.res.BargainGoodDetail;
import com.example.xpvideo.entity.res.BargainListRes;
import com.example.xpvideo.entity.res.BargainRecordRes;
import com.example.xpvideo.exception.ErrorException;

import java.util.List;

public interface BargainGoodService {
    ResponseResult<PageResult<List<BargainListRes>>> list(BargainGoodReq bargainGoodReq) throws ErrorException;
    ResponseResult<BargainGoodDetail> detail(Integer bargainId) throws ErrorException;
    ResponseResult<PageResult<List<BargainRecordRes>>> RecordList(BargainRecordReq bargainRecordReq) throws ErrorException;
    ResponseResult<Object> audit(AuditReq auditReq) throws ErrorException;
    ResponseResult<Object> reviweAudit(ReviewAuditReq reviewAuditReq) throws ErrorException;
}
